package com.itasura.templatemethod;

import lombok.extern.slf4j.Slf4j;

/**
 * @author sailor wang
 * @date 2018/11/21 7:42 PM
 * @description
 */
@Slf4j
public class PotatoCook extends CookMethod{
    @Override
    protected void pourOil() {
        log.info("倒龙利鱼油");
    }

    @Override
    protected void heatOil() {
        log.info("热油");
    }

    @Override
    protected void pourVegetable() {
        log.info("倒入土豆丝+青椒丝");
    }

    @Override
    protected void pourSauce() {
        log.info("加调料+少量盐");
    }

    @Override
    protected void fry() {
        log.info("翻炒");
    }
}